Comment.CommentText Property

Gets or sets the textual comment itself.

Parent Type: Comment

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string CommentText

{ get; set; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to.

ArgumentOutOfRangeException

Thrown if the string passed is greater than BaseSchemaInternal.CommentFromLearnerItem.MaxCommentLength for SCORM 2004 packages, or greater than 4096 characters for SCORM 1.2 packages.

Remarks

In SCORM 2004, this corresponds to cmi.comments_from_learner.n.comment.

In SCORM 1.2, this corresponds to cmi.comments.

Freeform text defined by the RLO, indicating a comment from the learner.